home *** CD-ROM | disk | FTP | other *** search
/ Revista do CD-ROM 85 / CD-ROM 85 / CD-ROM 85.iso / aplic / 2sync / 2SyncSetup.exe / graphics / scripts / DefineButton2_400 / BUTTONCONDACTION on(release).as next >
Encoding:
Text File  |  2002-03-20  |  454 b   |  22 lines

  1. on(release){
  2.    set("_level40/sound/lib:sound","50");
  3.    call("_level40/sound/lib:play");
  4.    tellTarget("_level50")
  5.    {
  6.       gotoAndStop("off");
  7.    }
  8.    if(eval("_level0:" add eval("_level0:focus") add "_module") ne "ex")
  9.    {
  10.       set("_level0:next",option);
  11.       tellTarget("_level0/loader")
  12.       {
  13.          gotoAndStop("loadmodule");
  14.          play();
  15.       }
  16.    }
  17.    tellTarget("animation")
  18.    {
  19.       gotoAndStop(1);
  20.    }
  21. }
  22.